Optimal. Leaf size=128 \[ -\frac{e^{2 a} 2^{-\frac{m+2 n+1}{n}} x^{m+1} \left (-b x^n\right )^{-\frac{m+1}{n}} \text{Gamma}\left (\frac{m+1}{n},-2 b x^n\right )}{n}-\frac{e^{-2 a} 2^{-\frac{m+2 n+1}{n}} x^{m+1} \left (b x^n\right )^{-\frac{m+1}{n}} \text{Gamma}\left (\frac{m+1}{n},2 b x^n\right )}{n}+\frac{x^{m+1}}{2 (m+1)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.155311, antiderivative size = 128, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {5363, 5361, 2218} \[ -\frac{e^{2 a} 2^{-\frac{m+2 n+1}{n}} x^{m+1} \left (-b x^n\right )^{-\frac{m+1}{n}} \text{Gamma}\left (\frac{m+1}{n},-2 b x^n\right )}{n}-\frac{e^{-2 a} 2^{-\frac{m+2 n+1}{n}} x^{m+1} \left (b x^n\right )^{-\frac{m+1}{n}} \text{Gamma}\left (\frac{m+1}{n},2 b x^n\right )}{n}+\frac{x^{m+1}}{2 (m+1)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 5363
Rule 5361
Rule 2218
Rubi steps
\begin{align*} \int x^m \cosh ^2\left (a+b x^n\right ) \, dx &=\int \left (\frac{x^m}{2}+\frac{1}{2} x^m \cosh \left (2 a+2 b x^n\right )\right ) \, dx\\ &=\frac{x^{1+m}}{2 (1+m)}+\frac{1}{2} \int x^m \cosh \left (2 a+2 b x^n\right ) \, dx\\ &=\frac{x^{1+m}}{2 (1+m)}+\frac{1}{4} \int e^{-2 a-2 b x^n} x^m \, dx+\frac{1}{4} \int e^{2 a+2 b x^n} x^m \, dx\\ &=\frac{x^{1+m}}{2 (1+m)}-\frac{2^{-\frac{1+m+2 n}{n}} e^{2 a} x^{1+m} \left (-b x^n\right )^{-\frac{1+m}{n}} \Gamma \left (\frac{1+m}{n},-2 b x^n\right )}{n}-\frac{2^{-\frac{1+m+2 n}{n}} e^{-2 a} x^{1+m} \left (b x^n\right )^{-\frac{1+m}{n}} \Gamma \left (\frac{1+m}{n},2 b x^n\right )}{n}\\ \end{align*}
Mathematica [A] time = 0.24899, size = 116, normalized size = 0.91 \[ -\frac{x^{m+1} \left (e^{2 a} (m+1) 2^{-\frac{m+1}{n}} \left (-b x^n\right )^{-\frac{m+1}{n}} \text{Gamma}\left (\frac{m+1}{n},-2 b x^n\right )+e^{-2 a} (m+1) 2^{-\frac{m+1}{n}} \left (b x^n\right )^{-\frac{m+1}{n}} \text{Gamma}\left (\frac{m+1}{n},2 b x^n\right )-2 n\right )}{4 (m+1) n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.089, size = 0, normalized size = 0. \begin{align*} \int{x}^{m} \left ( \cosh \left ( a+b{x}^{n} \right ) \right ) ^{2}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (x^{m} \cosh \left (b x^{n} + a\right )^{2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{m} \cosh ^{2}{\left (a + b x^{n} \right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{m} \cosh \left (b x^{n} + a\right )^{2}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]